Optimal. Leaf size=43 \[ -\frac{c \tan (e+f x) (a \sec (e+f x)+a)^{3/2}}{2 f \sqrt{c-c \sec (e+f x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.129904, antiderivative size = 43, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 36, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.028, Rules used = {3953} \[ -\frac{c \tan (e+f x) (a \sec (e+f x)+a)^{3/2}}{2 f \sqrt{c-c \sec (e+f x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3953
Rubi steps
\begin{align*} \int \sec (e+f x) (a+a \sec (e+f x))^{3/2} \sqrt{c-c \sec (e+f x)} \, dx &=-\frac{c (a+a \sec (e+f x))^{3/2} \tan (e+f x)}{2 f \sqrt{c-c \sec (e+f x)}}\\ \end{align*}
Mathematica [A] time = 0.275162, size = 73, normalized size = 1.7 \[ \frac{a (2 \cos (e+f x)+1) \csc \left (\frac{1}{2} (e+f x)\right ) \sec \left (\frac{1}{2} (e+f x)\right ) \sec (e+f x) \sqrt{a (\sec (e+f x)+1)} \sqrt{c-c \sec (e+f x)}}{4 f} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.322, size = 73, normalized size = 1.7 \begin{align*}{\frac{a \left ( \sin \left ( fx+e \right ) \right ) ^{3}}{2\,f\cos \left ( fx+e \right ) \left ( -1+\cos \left ( fx+e \right ) \right ) ^{2}}\sqrt{{\frac{a \left ( 1+\cos \left ( fx+e \right ) \right ) }{\cos \left ( fx+e \right ) }}}\sqrt{{\frac{c \left ( -1+\cos \left ( fx+e \right ) \right ) }{\cos \left ( fx+e \right ) }}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.53053, size = 76, normalized size = 1.77 \begin{align*} -\frac{2 \, \sqrt{-a} a \sqrt{c}}{f{\left (\frac{\sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} + 1\right )}^{2}{\left (\frac{\sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} - 1\right )}^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 0.467276, size = 186, normalized size = 4.33 \begin{align*} \frac{{\left (2 \, a \cos \left (f x + e\right ) + a\right )} \sqrt{\frac{a \cos \left (f x + e\right ) + a}{\cos \left (f x + e\right )}} \sqrt{\frac{c \cos \left (f x + e\right ) - c}{\cos \left (f x + e\right )}}}{2 \, f \cos \left (f x + e\right ) \sin \left (f x + e\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]